package com.learn.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {
    @GetMapping("/login")
    public String index() {
        return "login";
    }
    
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }
}
